package com.ht.pms.core.service;


import com.baomidou.mybatisplus.service.IService;
import com.ht.pms.core.dto.PageResult;
import com.ht.pms.core.dto.recruit.*;

import java.util.Date;
import java.util.List;

public interface RecruitService extends IService<RecruitDetail> {
//    PageResult recruitList(RecruitQueryDto dto) throws Exception;

    PageResult recruitListForQuery(String typeId, String stationName, String stationPlace, String startTime, String endTime, String state, int page, int limit) throws Exception;

    RecruitDetailWeb recruitQuery(String id) throws Exception;

    void addOrEditRecruit(String opType, String id, String typeId, String stationName, String stationPlace, String stationSalary, String stationNumer, Date startTime, Date endTime, String state, String stationSeniority, String stationDuty) throws Exception;

    void addOrEditEntityRecruit(RecruitDetailQuery recruitDetailQuery) throws Exception;

    List<ProvinceCitys> getProviceCity(String provinceId) throws Exception;

    List<RecruitDetailApp> recruitListApp(RecruitDetailAppReq recruitDetailAppReq) throws Exception;

    List<Province> getProviceCityApp() throws Exception;
}
